
/* 根据导入的文件下载在售数据 */


interface download_listing_date_by_importBody {
  file: undefined;
}
export function download_listing_date_by_import(userOaId: string, data: download_listing_date_by_importBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/download_listing_date_by_import",
    method: "post",
    data: data,
    params: userOaId,
    ...options,
  });
}

/* FBL平台仓产品编码导入 */


interface fbl_platform_stock_code_importBody {
  file: undefined;
}
export function fbl_platform_stock_code_import(userOaId: string, data: fbl_platform_stock_code_importBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/fbl_platform_stock_code_import",
    method: "post",
    data: data,
    params: userOaId,
    ...options,
  });
}

/* FBL平台仓产品编码模板下载 */


interface fbl_template_downloadBody {
  }
export function fbl_template_download( data: fbl_template_downloadBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/fbl_template_download",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取FBL平台仓产品编码导入结果 */


interface get_fbl_Import_ResultBody {
  }
export function get_fbl_Import_Result(userOaId: string, data: get_fbl_Import_ResultBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/get_fbl_Import_Result",
    method: "get",
    data: data,
    params: userOaId,
    ...options,
  });
}

/* 即时获取在售数据导入结果 */


interface get_listing_date_import_resultBody {
  }
export function get_listing_date_import_result(userOaId: string, data: get_listing_date_import_resultBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/get_listing_date_import_result",
    method: "get",
    data: data,
    params: userOaId,
    ...options,
  });
}

/* 即时获取在售数据导入模板下载 */


interface get_listing_date_template_downloadBody {
  }
export function get_listing_date_template_download( data: get_listing_date_template_downloadBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/get_listing_date_template_download",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取sku汇总和poa明细并上传到fastDfs服务器 */


interface get_sku_poa_uploadBody {
  param: ListingSkuAndPoaExportParam;
}
export function get_sku_poa_upload( data: get_sku_poa_uploadBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/get_sku_poa_upload",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取sku汇总和poa明细并上传到fastDfs服务器, 可自定义导出限制 */


interface get_sku_poa_upload2Body {
  param: ListingSkuAndPoaExportParam;
}
export function get_sku_poa_upload2(exportLimit: number, data: get_sku_poa_upload2Body, options): Promise<any> {
  return request({
    url: "/listing/attachment/get_sku_poa_upload2",
    method: "post",
    data: data,
    params: exportLimit,
    ...options,
  });
}

/* 上传图片到三方平台 */


interface image_upload_to_3rdBody {
  img: undefined;
}
export function image_upload_to_3rd(shopId: number, data: image_upload_to_3rdBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/image_upload_to_3rd",
    method: "post",
    data: data,
    params: shopId,
    ...options,
  });
}

/* 导入禁止调拨的类目 */


interface import_prohibit_purchase_categoryBody {
  file: undefined;
}
export function import_prohibit_purchase_category(siteName: string, data: import_prohibit_purchase_categoryBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/import_prohibit_purchase_category",
    method: "post",
    data: data,
    params: siteName,
    ...options,
  });
}

/* 上传网络中的图片到三方平台 */


interface network_image_upload_to_3rdBody {
  }
export function network_image_upload_to_3rd(shopId: number,,url: string, data: network_image_upload_to_3rdBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/network_image_upload_to_3rd",
    method: "post",
    data: data,
    params: shopId,url,
    ...options,
  });
}

/* 采购调拨记录导出 */


interface purchase_allocation_log_exportBody {
  exportParam: PurchaseAllocationLogExportParam;
}
export function purchase_allocation_log_export( data: purchase_allocation_log_exportBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/purchase_allocation_log_export",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* sku汇总和poa明细信息导出 */


interface sku_and_poa_exportBody {
  exportParam: ExportParam;
}
export function sku_and_poa_export( data: sku_and_poa_exportBody, options): Promise<any> {
  return request({
    url: "/listing/attachment/sku_and_poa_export",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 批量任务，修改poa链接状态 */


interface modify_poa_link_statusBody {
  autoCallTaskBaseDto: AutoCallTaskBaseDto;
}
export function modify_poa_link_status(userId?: number,,userName?: string, data: modify_poa_link_statusBody, options): Promise<any> {
  return request({
    url: "/listing/batch_task/modify_poa_link_status",
    method: "post",
    data: data,
    params: userId,userName,
    ...options,
  });
}

/* 批量任务，修改poa价格 */


interface modify_poa_priceBody {
  autoCallTaskBaseDto: AutoCallTaskBaseDto;
}
export function modify_poa_price(userId?: number,,userName?: string, data: modify_poa_priceBody, options): Promise<any> {
  return request({
    url: "/listing/batch_task/modify_poa_price",
    method: "post",
    data: data,
    params: userId,userName,
    ...options,
  });
}

/* 删除es索引 */


interface delete_es_indexBody {
  }
export function delete_es_index(index: string, data: delete_es_indexBody, options): Promise<any> {
  return request({
    url: "/listing/fix/delete_es_index",
    method: "get",
    data: data,
    params: index,
    ...options,
  });
}

/* 填充旧的在售操作日志 */

interface delete_es_not_in_dbQuery {
  batchKey: string;
index?: string;
parallelNum: number;
}

interface delete_es_not_in_dbBody {
  }
export function delete_es_not_in_db(query: delete_es_not_in_dbQuery data: delete_es_not_in_dbBody, options): Promise<any> {
  return request({
    url: "/listing/fix/delete_es_not_in_db",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* 删除已删除的在售数据 */


interface delete_listing_dataBody {
  }
export function delete_listing_data(createTime: string,,type: number, data: delete_listing_dataBody, options): Promise<any> {
  return request({
    url: "/listing/fix/delete_listing_data",
    method: "get",
    data: data,
    params: createTime,type,
    ...options,
  });
}

/* es put pre mapping */


interface es__put_pre_mappingBody {
  mapping: undefined;
}
export function es__put_pre_mapping(index: string, data: es__put_pre_mappingBody, options): Promise<any> {
  return request({
    url: "/listing/fix/es__put_pre_mapping",
    method: "post",
    data: data,
    params: index,
    ...options,
  });
}

/* es索引创建 */


interface es_index_createBody {
  settings?: undefined;
}
export function es_index_create(index: string, data: es_index_createBody, options): Promise<any> {
  return request({
    url: "/listing/fix/es_index_create",
    method: "post",
    data: data,
    params: index,
    ...options,
  });
}

/* es put mapping */


interface es_put_mappingBody {
  }
export function es_put_mapping(index: string, data: es_put_mappingBody, options): Promise<any> {
  return request({
    url: "/listing/fix/es_put_mapping",
    method: "get",
    data: data,
    params: index,
    ...options,
  });
}

/* 重建在售es索引 */


interface es_re_index_listingBody {
  }
export function es_re_index_listing(index?: string, data: es_re_index_listingBody, options): Promise<any> {
  return request({
    url: "/listing/fix/es_re_index_listing",
    method: "get",
    data: data,
    params: index,
    ...options,
  });
}

/* 填充旧的在售操作日志 */

interface fill_org_logQuery {
  objectId?: string;
parallelNum: number;
timeAfter?: string;
timeBefore?: string;
}

interface fill_org_logBody {
  }
export function fill_org_log(query: fill_org_logQuery data: fill_org_logBody, options): Promise<any> {
  return request({
    url: "/listing/fix/fill_org_log",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* fixModifyStatus */


interface fix_modify_statusBody {
  listingIds: Array<undefined>;
}
export function fix_modify_status( data: fix_modify_statusBody, options): Promise<any> {
  return request({
    url: "/listing/fix/fix_modify_status",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* es获取mapping */


interface get_mappingBody {
  }
export function get_mapping(index: string, data: get_mappingBody, options): Promise<any> {
  return request({
    url: "/listing/fix/get_mapping",
    method: "get",
    data: data,
    params: index,
    ...options,
  });
}

/* es获取settings */


interface get_settingsBody {
  }
export function get_settings(index: string, data: get_settingsBody, options): Promise<any> {
  return request({
    url: "/listing/fix/get_settings",
    method: "get",
    data: data,
    params: index,
    ...options,
  });
}

/* 推送在售价格/折扣率到范本 */


interface pricesBody {
  listingIds: Array<undefined>;
}
export function prices(syncDeletedData?: boolean, data: pricesBody, options): Promise<any> {
  return request({
    url: "/listing/fix/push_listing_to_lister/prices",
    method: "post",
    data: data,
    params: syncDeletedData,
    ...options,
  });
}

/* 插入配置 */


interface add_listing_business_configBody {
  configs: Array<ListingBusinessConfig>;
}
export function add_listing_business_config(auth: string, data: add_listing_business_configBody, options): Promise<any> {
  return request({
    url: "/listing/listing-config/add_listing_business_config",
    method: "post",
    data: data,
    params: auth,
    ...options,
  });
}

/* 更新配置 */


interface audit_listing_business_configBody {
  configs: Array<ListingBusinessConfig>;
}
export function audit_listing_business_config(auth: string, data: audit_listing_business_configBody, options): Promise<any> {
  return request({
    url: "/listing/listing-config/audit_listing_business_config",
    method: "post",
    data: data,
    params: auth,
    ...options,
  });
}

/* 删除配置 */


interface delete_listing_business_configBody {
  ids: Array<undefined>;
}
export function delete_listing_business_config(auth: string, data: delete_listing_business_configBody, options): Promise<any> {
  return request({
    url: "/listing/listing-config/delete_listing_business_config",
    method: "post",
    data: data,
    params: auth,
    ...options,
  });
}

/* removeOriginData */


interface removeAllBody {
  }
export function removeAll(auth: string, data: removeAllBody, options): Promise<any> {
  return request({
    url: "/listing/listing-origin/removeAll",
    method: "get",
    data: data,
    params: auth,
    ...options,
  });
}

/* removeOriginData */


interface removeByConditionBody {
  listingOriginal: ListingOriginal;
}
export function removeByCondition(auth: string, data: removeByConditionBody, options): Promise<any> {
  return request({
    url: "/listing/listing-origin/removeByCondition",
    method: "get",
    data: data,
    params: auth,
    ...options,
  });
}

/* 批量填充并保存在售数据 */


interface batch_fill_save_listingBody {
  param: 创建/更新在售链接参数;
}
export function batch_fill_save_listing( data: batch_fill_save_listingBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/batch_fill_save_listing",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 批量修改在售表数据 */


interface batch_modify_listing_dataBody {
  lvdtos: Array<ListingVariationDto>;
}
export function batch_modify_listing_data(modifyType: number, data: batch_modify_listing_dataBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/batch_modify_listing_data",
    method: "post",
    data: data,
    params: modifyType,
    ...options,
  });
}

/* 根据标签删除在售链接（软删） */


interface delete_listing_by_seller_skuBody {
  param: 删除在售链接参数;
}
export function delete_listing_by_seller_sku( data: delete_listing_by_seller_skuBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/delete_listing_by_seller_sku",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* getOnlineLink */

interface getOnlineLinkQuery {
  platform?: string;
productCode?: string;
shopName?: string;
}

interface getOnlineLinkBody {
  }
export function getOnlineLink(query: getOnlineLinkQuery data: getOnlineLinkBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/getOnlineLink",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* 获取在售类目信息 */


interface get_category_by_category_paramBody {
  categoryQueryParams: Array<CategoryQueryParam>;
}
export function get_category_by_category_param( data: get_category_by_category_paramBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/get_category_by_category_param",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 根据条件从平台获取在售数据 */


interface get_listing_by_conditionBody {
  modifyParam: Array<ModifyListingParam>;
}
export function get_listing_by_condition( data: get_listing_by_conditionBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/get_listing_by_condition",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取在售详细信息 */


interface get_listing_detailBody {
  productQueryParam: ListingDetailQueryParam;
}
export function get_listing_detail( data: get_listing_detailBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/get_listing_detail",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 根据店铺id获取poa重复记录 */


interface get_listing_id_by_unique_filedBody {
  dataEntities: Array<SkuSaveParamEntity>;
}
export function get_listing_id_by_unique_filed( data: get_listing_id_by_unique_filedBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/get_listing_id_by_unique_filed",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取最低价 */


interface get_listing_min_priceBody {
  listings: Array<undefined>;
}
export function get_listing_min_price( data: get_listing_min_priceBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/get_listing_min_price",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取海外仓链接数据（FBL/FBJ） */


interface get_overseas_warehouse_linked_dataBody {
  }
export function get_overseas_warehouse_linked_data(shopId: number, data: get_overseas_warehouse_linked_dataBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/get_overseas_warehouse_linked_data",
    method: "post",
    data: data,
    params: shopId,
    ...options,
  });
}

/* 获取平台判重字段 */


interface get_platform_judge_repeat_fieldBody {
  }
export function get_platform_judge_repeat_field( data: get_platform_judge_repeat_fieldBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/get_platform_judge_repeat_field",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取poa重复记录 */


interface get_poa_listing_repeatBody {
  }
export function get_poa_listing_repeat(pageIndex?: number,,pageSize?: number, data: get_poa_listing_repeatBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/get_poa_listing_repeat",
    method: "get",
    data: data,
    params: pageIndex,pageSize,
    ...options,
  });
}

/* 根据店铺id获取poa重复记录 */


interface get_poa_listing_repeat_by_shop_idBody {
  }
export function get_poa_listing_repeat_by_shop_id(shopId: number, data: get_poa_listing_repeat_by_shop_idBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/get_poa_listing_repeat_by_shop_id",
    method: "get",
    data: data,
    params: shopId,
    ...options,
  });
}

/* 获取sku重复记录 */


interface get_sku_listing_repeatBody {
  }
export function get_sku_listing_repeat(pageIndex?: number,,pageSize?: number, data: get_sku_listing_repeatBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/get_sku_listing_repeat",
    method: "get",
    data: data,
    params: pageIndex,pageSize,
    ...options,
  });
}

/* 根据店铺id获取poa重复记录 */


interface initdataBody {
  }
export function initdata( data: initdataBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/initdata",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* 批量修改listing sku数据 */


interface listing_batch_modifyBody {
  modifyParam: Array<ModifyListingParam>;
}
export function listing_batch_modify(userId?: number,,userName?: string, data: listing_batch_modifyBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/listing_batch_modify",
    method: "post",
    data: data,
    params: userId,userName,
    ...options,
  });
}

/* 根据条件匹配在售数据 */


interface matching_listing_dataBody {
  queryParamDto: QueryParamDto;
}
export function matching_listing_data( data: matching_listing_dataBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/matching_listing_data",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 新，修改是否同步库存 */


interface modify_is_sync_stockBody {
  modifyInfoParams: Array<ModifyParam«IsSyncStockParam»>;
}
export function modify_is_sync_stock(userId?: number,,userName?: string, data: modify_is_sync_stockBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/modify_is_sync_stock",
    method: "post",
    data: data,
    params: userId,userName,
    ...options,
  });
}

/* 新，修改链接状态 */


interface modify_link_statusBody {
  modifyInfoParams: Array<ModifyParam«LinkStatusParam»>;
}
export function modify_link_status(userId?: number,,userName?: string, data: modify_link_statusBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/modify_link_status",
    method: "post",
    data: data,
    params: userId,userName,
    ...options,
  });
}

/* 新，修改在线库存 */


interface modify_online_stockBody {
  modifyInfoParams: Array<ModifyParam«OnlineStockParam»>;
}
export function modify_online_stock(userId?: number,,userName?: string, data: modify_online_stockBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/modify_online_stock",
    method: "post",
    data: data,
    params: userId,userName,
    ...options,
  });
}

/* 新，修改售价及促销时间，请注意，链接有变动 */


interface modify_price_promotion_timeBody {
  modifyInfoParams: Array<ModifyParam«PriceAndPromotionTimeParam»>;
}
export function modify_price_promotion_time(userId?: number,,userName?: string, data: modify_price_promotion_timeBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/modify_price_promotion_time",
    method: "post",
    data: data,
    params: userId,userName,
    ...options,
  });
}

/* 批量修改POA */


interface batch_updateBody {
  lvss: Array<ListingVariationSummary>;
}
export function batch_update( data: batch_updateBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/poa/batch_update",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取执行明细-es，poa明细 */


interface execute_detailBody {
  queryParamDto: QueryParamDto;
}
export function execute_detail( data: execute_detailBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/poa/execute_detail",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 搜索poa列表-es */


interface searchBody {
  searchParam: PoaSearchParamEntity;
}
export function search( data: searchBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/poa/search",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 查询平台仓库存信息 */


interface query_platform_stock_infoBody {
  productQueryParam: ProductQueryParam;
}
export function query_platform_stock_info( data: query_platform_stock_infoBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/query_platform_stock_info",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 查询商品信息 */


interface query_productBody {
  productQueryParam: ProductQueryParam;
}
export function query_product( data: query_productBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/query_product",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 保存操作日志 */


interface save_option_recordBody {
  logEntities: Array<OperationLogEntity>;
}
export function save_option_record( data: save_option_recordBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/save_option_record",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* es同步差异化字段 */


interface set_special_fieldBody {
  paramObjects: undefined;
}
export function set_special_field( data: set_special_fieldBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/set_special_field",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取执行明细-es */


interface execute_detailBody {
  queryParamDto: QueryParamDto;
}
export function execute_detail( data: execute_detailBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/sku/execute_detail",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 搜索sku主表列表-es */


interface searchBody {
  skuListParamEntity: SkuListParamEntity;
}
export function search( data: searchBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/sku/search",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取执行明细-es，poa明细 */


interface execute_detailBody {
  queryParamDto: QueryParamDto;
}
export function execute_detail( data: execute_detailBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/sku_to_poa/execute_detail",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 更新链接 */


interface update_listingBody {
  updateListingParam: 更新链接;
}
export function update_listing( data: update_listingBody, options): Promise<any> {
  return request({
    url: "/listing/openApi/update_listing",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* countEsData */


interface count_es_dataBody {
  query?: undefined;
}
export function count_es_data(index: string, data: count_es_dataBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/count_es_data",
    method: "post",
    data: data,
    params: index,
    ...options,
  });
}

/* deleteDbAndEsData */


interface delete_db_and_es_dataBody {
  shopIds: Array<undefined>;
}
export function delete_db_and_es_data( data: delete_db_and_es_dataBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/delete_db_and_es_data",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* deleteEsData */


interface delete_es_dataBody {
  query?: undefined;
}
export function delete_es_data(index: string, data: delete_es_dataBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/delete_es_data",
    method: "post",
    data: data,
    params: index,
    ...options,
  });
}

/* deleteMgExtData */


interface delete_mg_ext_dataBody {
  }
export function delete_mg_ext_data(index: string, data: delete_mg_ext_dataBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/delete_mg_ext_data",
    method: "get",
    data: data,
    params: index,
    ...options,
  });
}

/* deleteRedisJobKey */


interface delete_redis_job_keyBody {
  }
export function delete_redis_job_key(auth: string, data: delete_redis_job_keyBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/delete_redis_job_key",
    method: "get",
    data: data,
    params: auth,
    ...options,
  });
}

/* deleteRedisJobShopKey */


interface delete_redis_job_shop_keyBody {
  }
export function delete_redis_job_shop_key(auth: string, data: delete_redis_job_shop_keyBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/delete_redis_job_shop_key",
    method: "get",
    data: data,
    params: auth,
    ...options,
  });
}

/* deleteRedisKeys */


interface delete_redis_keysBody {
  keys: Array<undefined>;
}
export function delete_redis_keys( data: delete_redis_keysBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/delete_redis_keys",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 创建在售下载任务单 */


interface download_task_list_initBody {
  }
export function download_task_list_init(jobType: string, data: download_task_list_initBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/download_task_list_init",
    method: "get",
    data: data,
    params: jobType,
    ...options,
  });
}

/* findSimpleByIds */


interface find_simple_by_idsBody {
  ids: Array<undefined>;
}
export function find_simple_by_ids(isLister?: boolean, data: find_simple_by_idsBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/find_simple_by_ids",
    method: "post",
    data: data,
    params: isLister,
    ...options,
  });
}

/* getDownloadConcurrency */


interface get_download_concurrencyBody {
  }
export function get_download_concurrency( data: get_download_concurrencyBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/get_download_concurrency",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* getRedisJobKey */


interface get_redis_job_keyBody {
  }
export function get_redis_job_key( data: get_redis_job_keyBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/get_redis_job_key",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* getRedisJobShopKey */


interface get_redis_job_shop_keyBody {
  }
export function get_redis_job_shop_key( data: get_redis_job_shop_keyBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/get_redis_job_shop_key",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* getRedisKeys */


interface get_redis_keysBody {
  }
export function get_redis_keys(pattern: string, data: get_redis_keysBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/get_redis_keys",
    method: "get",
    data: data,
    params: pattern,
    ...options,
  });
}

/* getRedisValue */


interface get_redis_valueBody {
  }
export function get_redis_value(key: string, data: get_redis_valueBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/get_redis_value",
    method: "get",
    data: data,
    params: key,
    ...options,
  });
}

/* 在售下载 */

interface listing_downQuery {
  async?: string;
jobType: string;
onlyUpdatePublishTime?: string;
workStage: string;
}

interface listing_downBody {
  }
export function listing_down(query: listing_downQuery data: listing_downBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/listing_down",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* modifyDownloadConcurrency */


interface modify_download_concurrencyBody {
  }
export function modify_download_concurrency(concurrency: number, data: modify_download_concurrencyBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/modify_download_concurrency",
    method: "get",
    data: data,
    params: concurrency,
    ...options,
  });
}

/* modifyPlatformInListing */


interface modify_platform_in_listingBody {
  platformInListing: PlatformInListing;
}
export function modify_platform_in_listing( data: modify_platform_in_listingBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/modify_platform_in_listing",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* modifyTaskTicket */


interface modify_task_ticketBody {
  query: ShopProcessFlagParam;
}
export function modify_task_ticket( data: modify_task_ticketBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/modify_task_ticket",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* removeShopFlag */

interface remove_shop_flag_by_conditionQuery {
  flagTime?: string;
flagType: string;
shopIds: Array;
}

interface remove_shop_flag_by_conditionBody {
  }
export function remove_shop_flag_by_condition(query: remove_shop_flag_by_conditionQuery data: remove_shop_flag_by_conditionBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/remove_shop_flag_by_condition",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* 设置关闭的操作类型 */


interface set_es_operation_disable_keysBody {
  }
export function set_es_operation_disable_keys(keys: string, data: set_es_operation_disable_keysBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/set_es_operation_disable_keys",
    method: "get",
    data: data,
    params: keys,
    ...options,
  });
}

/* syncListingToEsByListingId */

interface sync_listing_to_es_by_listing_idQuery {
  listingId: string;
platformNos: string;
syncDeletedData: string;
toSummary: string;
}

interface sync_listing_to_es_by_listing_idBody {
  }
export function sync_listing_to_es_by_listing_id(query: sync_listing_to_es_by_listing_idQuery data: sync_listing_to_es_by_listing_idBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/sync_listing_to_es_by_listing_id",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* syncListingToEsByModifyTime */

interface sync_listing_to_es_by_modify_timeQuery {
  lastModifyTime: string;
platformNos: string;
syncDeletedData: string;
toSummary: string;
}

interface sync_listing_to_es_by_modify_timeBody {
  }
export function sync_listing_to_es_by_modify_time(query: sync_listing_to_es_by_modify_timeQuery data: sync_listing_to_es_by_modify_timeBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/sync_listing_to_es_by_modify_time",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* 测试es批量写入性能 */

interface test_batch_update_esQuery {
  index?: string;
large?: boolean;
size?: number;
}

interface test_batch_update_esBody {
  ids?: Array<undefined>;
}
export function test_batch_update_es(query: test_batch_update_esQuery data: test_batch_update_esBody, options): Promise<any> {
  return request({
    url: "/listing/operation-maintenance/test_batch_update_es",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* 插入日志 */


interface saveBody {
  operationLogEntity: OperationLogEntity;
}
export function save( data: saveBody, options): Promise<any> {
  return request({
    url: "/listing/operation_log/save",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 更新日志 */


interface update_status_errorBody {
  updateOperationLogStatusParam: 操作日志的更新;
}
export function update_status_error( data: update_status_errorBody, options): Promise<any> {
  return request({
    url: "/listing/operation_log/update_status_error",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取poa列表-es */


interface get_by_pageBody {
  poaParamEntity: PoaListParamEntity;
}
export function get_by_page( data: get_by_pageBody, options): Promise<any> {
  return request({
    url: "/listing/poa/get_by_page",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取在售数据进行范本刊登 */


interface copyToListerBody {
  listingQueryParam: ListingQueryParam;
}
export function copyToLister( data: copyToListerBody, options): Promise<any> {
  return request({
    url: "/listing/sku/copyToLister",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取sku主表列表-es */


interface get_by_pageBody {
  skuListParamEntity: SkuListParamEntity;
}
export function get_by_page( data: get_by_pageBody, options): Promise<any> {
  return request({
    url: "/listing/sku/get_by_page",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 按条件修改listing数据 */


interface according_as_condition_listing_modifyBody {
  modifyParam: ModifyListingConditionParam;
}
export function according_as_condition_listing_modify(cooperationModifyPoa?: boolean, data: according_as_condition_listing_modifyBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/according_as_condition_listing_modify",
    method: "post",
    data: data,
    params: cooperationModifyPoa,
    ...options,
  });
}

/* 新增平台人员信息配置 */


interface add_platform_personnel_info_configBody {
  param: Array<AddPlatformStockConfigParam>;
}
export function add_platform_personnel_info_config(auth: string, data: add_platform_personnel_info_configBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/add_platform_personnel_info_config",
    method: "post",
    data: data,
    params: auth,
    ...options,
  });
}

/* 新增平台库存汇总配置 */


interface add_platform_stock_configBody {
  param: Array<AddPlatformStockConfigParam>;
}
export function add_platform_stock_config(auth: string, data: add_platform_stock_configBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/add_platform_stock_config",
    method: "post",
    data: data,
    params: auth,
    ...options,
  });
}

/* 添加平台仓调拨单 */


interface add_platform_warehouse_allocation_orderBody {
  allocationOrderParams: Array<AllocationOrderParam>;
}
export function add_platform_warehouse_allocation_order(userOaId: string, data: add_platform_warehouse_allocation_orderBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/add_platform_warehouse_allocation_order",
    method: "post",
    data: data,
    params: userOaId,
    ...options,
  });
}

/* 添加平台仓采购单 */


interface add_platform_warehouse_purchase_orderBody {
  purchaseOrderParams: Array<PurchaseOrderParam>;
}
export function add_platform_warehouse_purchase_order(userOaId: string, data: add_platform_warehouse_purchase_orderBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/add_platform_warehouse_purchase_order",
    method: "post",
    data: data,
    params: userOaId,
    ...options,
  });
}

/* 添加POA信息 */


interface add_poa_infoBody {
  listingPoaForPlatform: ListingPoaForPlatform;
}
export function add_poa_info(userOaId: string, data: add_poa_infoBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/add_poa_info",
    method: "post",
    data: data,
    params: userOaId,
    ...options,
  });
}

/* 批量修改价格（调价） */


interface batch_Modify_priceBody {
  modifyParam: ModifyConditionParam;
}
export function batch_Modify_price( data: batch_Modify_priceBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/batch_Modify_price",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 批量保存数据接口 */


interface batch_save_listingBody {
  dataEntities: Array<SkuSaveParamEntity>;
}
export function batch_save_listing(isProfiled: boolean, data: batch_save_listingBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/batch_save_listing",
    method: "post",
    data: data,
    params: isProfiled,
    ...options,
  });
}

/* 在售表填充范本的IS值和Tags词信息 */


interface fill_specifications_and_tagsBody {
  }
export function fill_specifications_and_tags(auth: string, data: fill_specifications_and_tagsBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/fill_specifications_and_tags",
    method: "get",
    data: data,
    params: auth,
    ...options,
  });
}

/* 获取品牌 */

interface getBrandQuery {
  brandName?: string;
pageIndex: number;
pageSize: number;
platformCode: number;
}

interface getBrandBody {
  }
export function getBrand(query: getBrandQuery data: getBrandBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/getBrand",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* 获取品牌类型和品牌列表 */


interface getBrandTypeArrBody {
  }
export function getBrandTypeArr(platformCode: number, data: getBrandTypeArrBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/getBrandTypeArr",
    method: "get",
    data: data,
    params: platformCode,
    ...options,
  });
}

/* 根据code获取下拉框列表 */


interface getFilterByCodeBody {
  }
export function getFilterByCode(code: string, data: getFilterByCodeBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/getFilterByCode",
    method: "get",
    data: data,
    params: code,
    ...options,
  });
}

/* 获取销售经理 */


interface getSaleManagerBody {
  }
export function getSaleManager(platformCode: number, data: getSaleManagerBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/getSaleManager",
    method: "get",
    data: data,
    params: platformCode,
    ...options,
  });
}

/* 获取销售员 */

interface getSaleUserQuery {
  pageIndex: number;
pageSize: number;
platformCode: number;
userName?: string;
}

interface getSaleUserBody {
  }
export function getSaleUser(query: getSaleUserQuery data: getSaleUserBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/getSaleUser",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* 获取品类ID */


interface get_base_category_idBody {
  categoryIds: Array<undefined>;
}
export function get_base_category_id( data: get_base_category_idBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_base_category_id",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 根据类目ID获取类目属性 */


interface get_category_attributeBody {
  }
export function get_category_attribute(categoryId: string,,site: string, data: get_category_attributeBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_category_attribute",
    method: "post",
    data: data,
    params: categoryId,site,
    ...options,
  });
}

/* 获取类目名称 */


interface get_category_nameBody {
  }
export function get_category_name(site: number, data: get_category_nameBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_category_name",
    method: "get",
    data: data,
    params: site,
    ...options,
  });
}

/* 获取开发经理 */


interface get_devmanagerBody {
  }
export function get_devmanager(platformCode: number, data: get_devmanagerBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_devmanager",
    method: "get",
    data: data,
    params: platformCode,
    ...options,
  });
}

/* 获取维度 */


interface get_dimensionBody {
  }
export function get_dimension( data: get_dimensionBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_dimension",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取过滤配置列表 */


interface get_filter_configBody {
  }
export function get_filter_config(platformCode: number,,userOaId?: string, data: get_filter_configBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_filter_config",
    method: "get",
    data: data,
    params: platformCode,userOaId,
    ...options,
  });
}

/* 获取默认过滤配置列表 */


interface get_filter_default_configBody {
  }
export function get_filter_default_config(platformCode: number, data: get_filter_default_configBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_filter_default_config",
    method: "get",
    data: data,
    params: platformCode,
    ...options,
  });
}

/* 获取在售导出记录 */

interface get_listing_export_logQuery {
  pageIndex: number;
pageSize: number;
userOaId: number;
}

interface get_listing_export_logBody {
  }
export function get_listing_export_log(query: get_listing_export_logQuery data: get_listing_export_logBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_listing_export_log",
    method: "post",
    data: data,
    params: query,
    ...options,
  });
}

/* 获取操作日志 */


interface get_operation_logBody {
  operationLogEntity: OperationLogEntity;
}
export function get_operation_log( data: get_operation_logBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_operation_log",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 修改，获取操作日志过滤项 */


interface get_operation_log_filter_codeBody {
  }
export function get_operation_log_filter_code(listingId: string, data: get_operation_log_filter_codeBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_operation_log_filter_code",
    method: "get",
    data: data,
    params: listingId,
    ...options,
  });
}

/* 获取平台 */


interface get_platformBody {
  }
export function get_platform( data: get_platformBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_platform",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取平台采购调拨日志 */


interface get_platform_purchase_allocation_logBody {
  purchaseAllocationLogParam: PurchaseAllocationLogParam;
}
export function get_platform_purchase_allocation_log( data: get_platform_purchase_allocation_logBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_platform_purchase_allocation_log",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取poa列表，新接口 */


interface get_poa_by_listing_idBody {
  poaListParamEntity: PoaListParamEntity;
}
export function get_poa_by_listing_id( data: get_poa_by_listing_idBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_poa_by_listing_id",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取poa滞销信息 */


interface get_poa_unsaleable_StatBody {
  variations: Array<VariationParamDTO>;
}
export function get_poa_unsaleable_Stat( data: get_poa_unsaleable_StatBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_poa_unsaleable_Stat",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取商品标识(公共条目) */


interface get_product_markBody {
  }
export function get_product_mark(markName?: string, data: get_product_markBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_product_mark",
    method: "post",
    data: data,
    params: markName,
    ...options,
  });
}

/* 获取公共条目的商品标识 */


interface get_product_mark_itemBody {
  }
export function get_product_mark_item(itemName?: string, data: get_product_mark_itemBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_product_mark_item",
    method: "post",
    data: data,
    params: itemName,
    ...options,
  });
}

/* 获取商品标识变更历史 */


interface get_product_mark_modify_historyBody {
  }
export function get_product_mark_modify_history(listingIdStr: string, data: get_product_mark_modify_historyBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_product_mark_modify_history",
    method: "post",
    data: data,
    params: listingIdStr,
    ...options,
  });
}

/* 获取产品销量和流量列表 */


interface get_product_sales_flow_listBody {
  param: ProductSalesFlowParam;
}
export function get_product_sales_flow_list( data: get_product_sales_flow_listBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_product_sales_flow_list",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取站点对应的类目信息 */


interface get_site_category_infoBody {
  }
export function get_site_category_info(site: string, data: get_site_category_infoBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_site_category_info",
    method: "post",
    data: data,
    params: site,
    ...options,
  });
}

/* 获取站点 */


interface get_site_nameBody {
  }
export function get_site_name(platformCode: number, data: get_site_nameBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_site_name",
    method: "get",
    data: data,
    params: platformCode,
    ...options,
  });
}

/* 获取sku主表列表 */


interface get_sku_by_pageBody {
  skuListParamEntity: SkuListParamEntity;
}
export function get_sku_by_page( data: get_sku_by_pageBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_sku_by_page",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取sku列表总数 */


interface get_sku_by_page_countBody {
  skuListParamEntity: SkuListParamEntity;
}
export function get_sku_by_page_count( data: get_sku_by_page_countBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_sku_by_page_count",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取sku类目属性 */

interface get_sku_category_attributeQuery {
  categoryId: string;
listingId: string;
site: string;
}

interface get_sku_category_attributeBody {
  }
export function get_sku_category_attribute(query: get_sku_category_attributeQuery data: get_sku_category_attributeBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_sku_category_attribute",
    method: "post",
    data: data,
    params: query,
    ...options,
  });
}

/* 获取sku描述信息 */


interface get_sku_descriptionBody {
  }
export function get_sku_description(listingId: string, data: get_sku_descriptionBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_sku_description",
    method: "post",
    data: data,
    params: listingId,
    ...options,
  });
}

/* 获取sku额外信息列表 */


interface get_sku_extra_by_listingBody {
  listings: Array<ListingParamDTO>;
}
export function get_sku_extra_by_listing( data: get_sku_extra_by_listingBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_sku_extra_by_listing",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取sku图片操作记录 */


interface get_sku_img_operation_logBody {
  }
export function get_sku_img_operation_log(productCode: string, data: get_sku_img_operation_logBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_sku_img_operation_log",
    method: "post",
    data: data,
    params: productCode,
    ...options,
  });
}

/* 获取sku产品生命周期 */


interface get_sku_life_cycleBody {
  listings: Array<ListingParamDTO>;
}
export function get_sku_life_cycle( data: get_sku_life_cycleBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_sku_life_cycle",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取sku平台仓产品信息 */


interface get_sku_platform_product_infoBody {
  listings: Array<ListingParamDTO>;
}
export function get_sku_platform_product_info( data: get_sku_platform_product_infoBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_sku_platform_product_info",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取sku滞销信息 */


interface get_sku_unsaleable_StatBody {
  listings: Array<ListingParamDTO>;
}
export function get_sku_unsaleable_Stat( data: get_sku_unsaleable_StatBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_sku_unsaleable_Stat",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 获取用户平台权限 */


interface get_user_platform_permissionBody {
  }
export function get_user_platform_permission(userOaId: string, data: get_user_platform_permissionBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_user_platform_permission",
    method: "get",
    data: data,
    params: userOaId,
    ...options,
  });
}

/* 获取用户拥有的店铺 */


interface get_user_shop_nameBody {
  }
export function get_user_shop_name(platformCode: number,,userOaId?: string, data: get_user_shop_nameBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/get_user_shop_name",
    method: "get",
    data: data,
    params: platformCode,userOaId,
    ...options,
  });
}

/* 初始化标签信息 */


interface init_label_infoBody {
  }
export function init_label_info( data: init_label_infoBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/init_label_info",
    method: "get",
    data: data,
    params: ,
    ...options,
  });
}

/* 初始化shopee在售销售员信息 */


interface init_shopee_saler_infoBody {
  }
export function init_shopee_saler_info(auth: string,,flyUserId?: string, data: init_shopee_saler_infoBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/init_shopee_saler_info",
    method: "get",
    data: data,
    params: auth,flyUserId,
    ...options,
  });
}

/* 初始化同步在售可售卖库存 */


interface init_sync_marketable_stockBody {
  productIds: Array<undefined>;
}
export function init_sync_marketable_stock( data: init_sync_marketable_stockBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/init_sync_marketable_stock",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* jumia调价 */


interface jumia_adjust_pricesBody {
  }
export function jumia_adjust_prices(auth: string,,conditionDateStr: string, data: jumia_adjust_pricesBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/jumia_adjust_prices",
    method: "post",
    data: data,
    params: auth,conditionDateStr,
    ...options,
  });
}

/* jumia调价2%导出 */


interface jumia_adjust_prices_exportBody {
  }
export function jumia_adjust_prices_export(auth: string,,conditionDateStr: string, data: jumia_adjust_prices_exportBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/jumia_adjust_prices_export",
    method: "post",
    data: data,
    params: auth,conditionDateStr,
    ...options,
  });
}

/* jumia恢复价格（该方法用于恢复测试时调价成功的数据） */


interface jumia_recover_pricesBody {
  }
export function jumia_recover_prices(auth: string, data: jumia_recover_pricesBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/jumia_recover_prices",
    method: "post",
    data: data,
    params: auth,
    ...options,
  });
}

/* 批量修改listing数据 */


interface listing_batch_modifyBody {
  modifyParam: Array<ModifyListingParam>;
}
export function listing_batch_modify(cooperationModifyPoa?: boolean, data: listing_batch_modifyBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/listing_batch_modify",
    method: "post",
    data: data,
    params: cooperationModifyPoa,
    ...options,
  });
}

/* 修改listing数据 */


interface listing_modifyBody {
  modifyParam: ModifyListingParam;
}
export function listing_modify(cooperationModifyPoa?: boolean, data: listing_modifyBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/listing_modify",
    method: "post",
    data: data,
    params: cooperationModifyPoa,
    ...options,
  });
}

/* 以product维度修改listing数据 */


interface listing_modify_by_product_idBody {
  modifyParam: ModifyListingParam;
}
export function listing_modify_by_product_id(cooperationModifyPoa?: boolean, data: listing_modify_by_product_idBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/listing_modify_by_product_id",
    method: "post",
    data: data,
    params: cooperationModifyPoa,
    ...options,
  });
}

/* 根据条件和规则修改listing数据 */


interface listing_modify_with_ruleBody {
  modifyParam: ListingModifyConditionParam;
}
export function listing_modify_with_rule( data: listing_modify_with_ruleBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/listing_modify_with_rule",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 销售经理同步在售补偿消费 */


interface manager_info_reconsumeBody {
  }
export function manager_info_reconsume(listingIds: Array,,platformNo: number, data: manager_info_reconsumeBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/manager_info_reconsume",
    method: "get",
    data: data,
    params: listingIds,platformNo,
    ...options,
  });
}

/* 匹配标签/SKU/POA */


interface matching_labelBody {
  listingIds: Array<undefined>;
}
export function matching_label(syncStock: boolean,,userOaId: string, data: matching_labelBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/matching_label",
    method: "post",
    data: data,
    params: syncStock,userOaId,
    ...options,
  });
}

/* 新，修改图片 */


interface modify_imagesBody {
  modifyInfoParams: Array<ModifyParam«ImagesParam»>;
}
export function modify_images( data: modify_imagesBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/modify_images",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 修改是否同步库存 */


interface modify_is_sync_stockBody {
  modifyInfoParams: Array<ModifyParam«IsSyncStockParam»>;
}
export function modify_is_sync_stock(async?: boolean, data: modify_is_sync_stockBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/modify_is_sync_stock",
    method: "post",
    data: data,
    params: async,
    ...options,
  });
}

/* 根据导入的Excel修改是否同步库存状态 */


interface modify_is_sync_stock_importBody {
  file: undefined;
}
export function modify_is_sync_stock_import(isSyncStock: number,,resetStock?: boolean, data: modify_is_sync_stock_importBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/modify_is_sync_stock_import",
    method: "get",
    data: data,
    params: isSyncStock,resetStock,
    ...options,
  });
}

/* 修改生命周期 */


interface modify_life_cycleBody {
  modifyInfoParams: Array<ModifyParam«LifeCycleParam»>;
}
export function modify_life_cycle(async?: boolean, data: modify_life_cycleBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/modify_life_cycle",
    method: "post",
    data: data,
    params: async,
    ...options,
  });
}

/* 新，修改链接状态 */


interface modify_link_statusBody {
  modifyInfoParams: Array<ModifyParam«LinkStatusParam»>;
}
export function modify_link_status(async?: boolean, data: modify_link_statusBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/modify_link_status",
    method: "post",
    data: data,
    params: async,
    ...options,
  });
}

/* 新，修改在线库存 */


interface modify_online_stockBody {
  modifyInfoParams: Array<ModifyParam«OnlineStockParam»>;
}
export function modify_online_stock( data: modify_online_stockBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/modify_online_stock",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 新，修改售价及促销时间，请注意，链接有变动 */


interface modify_price_promotion_timeBody {
  modifyInfoParams: Array<ModifyParam«PriceAndPromotionTimeParam»>;
}
export function modify_price_promotion_time( data: modify_price_promotion_timeBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/modify_price_promotion_time",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 修复未盘点数据 */


interface repair_take_stockBody {
  }
export function repair_take_stock(endDate?: string,,status: number, data: repair_take_stockBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/repair_take_stock",
    method: "get",
    data: data,
    params: endDate,status,
    ...options,
  });
}

/* 保存过滤配置项 */


interface save_filterconfigBody {
  filterConfigEntity: FilterConfigEntity;
}
export function save_filterconfig( data: save_filterconfigBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/save_filterconfig",
    method: "post",
    data: data,
    params: ,
    ...options,
  });
}

/* 设置个人关注 */


interface set_personal_attentionBody {
  listingIds: Array<undefined>;
}
export function set_personal_attention(attention: boolean,,userOaId: string, data: set_personal_attentionBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/set_personal_attention",
    method: "post",
    data: data,
    params: attention,userOaId,
    ...options,
  });
}

/* 盘点在售删除状态数据 */

interface take_listing_delete_status_dataQuery {
  auth: string;
modifyDateEnd: string;
modifyDateStar: string;
}

interface take_listing_delete_status_dataBody {
  }
export function take_listing_delete_status_data(query: take_listing_delete_status_dataQuery data: take_listing_delete_status_dataBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/take_listing_delete_status_data",
    method: "get",
    data: data,
    params: query,
    ...options,
  });
}

/* 更新删除状态的在售数据（慎用） */


interface update_delete_listing_dataBody {
  }
export function update_delete_listing_data(auth: string, data: update_delete_listing_dataBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/update_delete_listing_data",
    method: "get",
    data: data,
    params: auth,
    ...options,
  });
}

/* 更新在售主表的链接状态和是否已删除状态字段 */


interface update_listing_link_statusBody {
  }
export function update_listing_link_status(auth: string, data: update_listing_link_statusBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/update_listing_link_status",
    method: "get",
    data: data,
    params: auth,
    ...options,
  });
}

/* 匹配标签并更新在售数据 */


interface update_matching_labelBody {
  }
export function update_matching_label(auth: string, data: update_matching_labelBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/update_matching_label",
    method: "post",
    data: data,
    params: auth,
    ...options,
  });
}

/* 匹配标签并更新在售数据（导入） */


interface update_matching_label_importBody {
  file: undefined;
}
export function update_matching_label_import(auth: string, data: update_matching_label_importBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/update_matching_label_import",
    method: "post",
    data: data,
    params: auth,
    ...options,
  });
}

/* 更新在售销售员信息 */


interface update_sale_infoBody {
  }
export function update_sale_info(auth: string, data: update_sale_infoBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/update_sale_info",
    method: "get",
    data: data,
    params: auth,
    ...options,
  });
}

/* 修复销售员销售经理缺失的数据 */


interface update_saler_infoBody {
  }
export function update_saler_info(auth: string, data: update_saler_infoBody, options): Promise<any> {
  return request({
    url: "/listing/sku_on_sale/update_saler_info",
    method: "get",
    data: data,
    params: auth,
    ...options,
  });
}
